Skip to content

Report compile and publication progress - #21

Merged
raghubetina merged 4 commits into
mainfrom
codex/cli-compile-progress-20260807
Aug 7, 2026
Merged

Report compile and publication progress#21
raghubetina merged 4 commits into
mainfrom
codex/cli-compile-progress-20260807

Conversation

@raghubetina

@raghubetina raghubetina commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add stable First Draft: progress on stderr for analysis, Compilation, and GitHub Publication
  • distinguish Compilation failure/cancellation from later GitHub failure/cancellation
  • validate the service's closed Publication progress projection and sixteen-code safe reason allowlist
  • reserve successful stdout for exactly the validated private GitHub repository URL
  • preserve conditional singleton recovery and prohibit concurrent Compile invocations
  • prepare ordinary @firstdraft.com/cli@0.1.0 for service API contract 0.2
  • document the pre-1.0 policy: minor versions start breaking compatibility lines; patches are otherwise backward-compatible
  • keep npm next as the approval-gated initial channel independently of version syntax, without moving latest

Verification

  • npm ci --ignore-scripts
  • npm audit (0 vulnerabilities)
  • npm run check (typecheck, lint, format, 150 tests, pack check, packed executable smoke)

Coordination boundary

This is an unreleased ordinary 0.1.0 candidate requiring the First Draft API 0.2 service contract and the coordinated plugin 0.1.0 candidate. Exact candidate identities must pass the cross-repository compatibility gate before release. Merge, npm publication under next, any later latest promotion, plugin promotion, and service deployment remain separately serialized operations; this pull request performs none of them.

Expose the retained lifecycle without leaking private projection data, and keep stdout stable for repository URL consumers. Coordinate the strict progress response with API contract 0.2.0.
Publication failure can mirror an unsuccessful Compilation before any GitHub work. Select terminal progress from the validated Compilation state so the CLI never attributes that outcome to GitHub.
Preserve the closed safe-output boundary while accepting legacy preflight evidence and stage-specific fallback classifications from the coordinated API 0.2 contract.
Separate compatibility-line semantics from the approval-gated npm channel. Release the coordinated API 0.2 candidate as ordinary 0.1.0 while keeping next as the initial distribution path and latest promotion separate.
@raghubetina
raghubetina marked this pull request as ready for review August 7, 2026 19:33
@raghubetina
raghubetina merged commit f3b34c2 into main Aug 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant